package com.dinglian.ots.shiro;

import lombok.Data;
import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * @author wangbo
 */
@Data
public class MyShiroToken extends UsernamePasswordToken {

    private Integer roleType;

    public MyShiroToken(String username,String password,Integer roleType) {
        super(username,password);
        this.roleType = roleType;
    }
}
